/*
 * @Descripttion: 积分审批
 * @Author: binbin binbin@ssc-hn.com
 * @Date: 2025-03-17
 * @LastEditors: Bart 1714877505@qq.com
 * @LastEditTime: 2025-03-19
 */
import request from '/@/api/request'

/** 获取积分审批列表 */
export const requestGetIntegralIssuerList = (data: GetIntegralApproveListTypes.IRequest) => {
  return request.post<IBaseResponse<GetIntegralApproveListTypes.IResponse[]>>('/bankSaasWallet/admin/coinAduit/coinAuditTaskInfoPage', data)
}

/** 审核拒绝 */
export const requestRejectTask = (data: RejectTaskTypes.IRequest) => {
  return request.post<IBaseResponse<RejectTaskTypes.IResponse>>('/bankSaasWallet/admin/process/rejectTask', data)
}

/** 审核通过 */
export const requestApproveTask = (data: RejectTaskTypes.IRequest) => {
  return request.post<IBaseResponse<RejectTaskTypes.IResponse>>('/bankSaasWallet/admin/process/approveTask', data)
}
